﻿@model System.DateTime?
<script type="text/javascript">
    $(document).ready(function () {
              $(".datetimepicker").datetimepicker({
             showButtonPanel: true,
             dateFormat: 'yyyy/mm/dd hh:mm'
            // mask: true
         });

    }
)
</script>
@Html.TextBoxFor(m => m, new { @class = "datetimepicker", @Value = this.Model ==null ? String.Empty :((DateTime)this.Model).ToString("yyyy/MM/dd hh:mm") })
